package com.xuetang9.t9.xinhuaxia.beans;

import javax.persistence.*;

@Table(name = "warehourse")
public class Warehourse {
    /**
     * 仓库Id
     */
    @Id
    @Column(name = "w_id")
    private Long wId;

    /**
     * 仓库名
     */
    @Column(name = "w_name")
    private String wName;

    /**
     * 仓库地址
     */
    @Column(name = "w_address")
    private String wAddress;

    /**
     * 仓库负责人
     */
    @Column(name = "w_manager")
    private String wManager;

    /**
     * 仓库电话
     */
    @Column(name = "w_phone")
    private Long wPhone;

    /**
     * 获取仓库Id
     *
     * @return w_id - 仓库Id
     */
    public Long getwId() {
        return wId;
    }

    /**
     * 设置仓库Id
     *
     * @param wId 仓库Id
     */
    public void setwId(Long wId) {
        this.wId = wId;
    }

    /**
     * 获取仓库名
     *
     * @return w_name - 仓库名
     */
    public String getwName() {
        return wName;
    }

    /**
     * 设置仓库名
     *
     * @param wName 仓库名
     */
    public void setwName(String wName) {
        this.wName = wName;
    }

    /**
     * 获取仓库地址
     *
     * @return w_address - 仓库地址
     */
    public String getwAddress() {
        return wAddress;
    }

    /**
     * 设置仓库地址
     *
     * @param wAddress 仓库地址
     */
    public void setwAddress(String wAddress) {
        this.wAddress = wAddress;
    }

    /**
     * 获取仓库负责人
     *
     * @return w_manager - 仓库负责人
     */
    public String getwManager() {
        return wManager;
    }

    /**
     * 设置仓库负责人
     *
     * @param wManager 仓库负责人
     */
    public void setwManager(String wManager) {
        this.wManager = wManager;
    }

    /**
     * 获取仓库电话
     *
     * @return w_phone - 仓库电话
     */
    public Long getwPhone() {
        return wPhone;
    }

    /**
     * 设置仓库电话
     *
     * @param wPhone 仓库电话
     */
    public void setwPhone(Long wPhone) {
        this.wPhone = wPhone;
    }
}